package com.xxx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/8/27 10:32
 * @Copyright 博为峰
 */
//@Controller
@RestController
public class TestController {

    @RequestMapping("/test")
//    @ResponseBody
    public String test() {
        System.out.println("test");
        return "test02";
    }
}
